package sync1;

import java.util.concurrent.CountDownLatch;

public class sync3 {

    public static void main(String[] args) throws InterruptedException {
        System.out.println("Start");
        new CountDownLatch(1).await();
        System.out.println("end");

        Object o = new Object();
        o.notify();
        o.wait();
    }
}
